﻿@model WebAppWeChatDemo.Models.SendMessageModel
@{
    ViewBag.Title = "Home Page";
}
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <div class="form-group">
        <label for="appid">AppID</label>
        @Html.EditorFor(model => model.appid, new { htmlAttributes = new { @class = "form-control" } })
    </div>
    <div class="form-group">
        <label for="appsecret">AppSecret</label>
        @Html.EditorFor(model => model.appsecret, new { htmlAttributes = new { @class = "form-control" } })
    </div>
    <div class="form-group">
        <label for="openid">OpenId</label>
        @Html.EditorFor(model => model.openid, new { htmlAttributes = new { @class = "form-control" } })
    </div>
    <div class="form-group">
        <label for="template_id">模板ID</label>
        @Html.EditorFor(model => model.template_id, new { htmlAttributes = new { @class = "form-control" } })
    </div>
    <div class="form-group">
        <label for="template_id">消息内容</label>
        @Html.EditorFor(model => model.message, new { htmlAttributes = new { @class = "form-control" } })
    </div>
    <button type="submit" class="btn btn-default">Submit</button>
 }
